package com.ruoyi.system.WebController;


import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.system.domain.ByStandardSystem;
import com.ruoyi.system.service.IByStandardSystemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * 新闻Controller  api
 *
 * @author ruoyi
 * @date 2024-01-16
 */
@RestController
@RequestMapping("/byWeb/system")
public class WebSystemController  extends BaseController {

    @Autowired
    private IByStandardSystemService byStandardSystemService;

    /**
     * 查询体系列表
     */
    @GetMapping("/list")
    public AjaxResult list(ByStandardSystem byStandardSystem)
    {
        List<ByStandardSystem> list = byStandardSystemService.selectByStandardSystemList(byStandardSystem);
        return success(list);
    }

}
